package Heap;

import java.util.Arrays;

public class Test {

    public static void main(String[] args) {
        TestHeap t =new TestHeap();
        int[] array={27,15,19,18,28,34,65,49,25,37};
        t.initHeap(array);
        int[] a=t.smallestK(array,3);
        System.out.println(Arrays.toString(a));
        //t.initHeap(array);
        //t.creatHeap(array);
        //System.out.println(t.pop());
        //t.heapSort();
        System.out.println("hello");
    }

    public static void main01(String[] args) {
        TestHeap t=new TestHeap();
        int[] array={27,15,19,18,28,34,65,49,25,37};
        t.initHeap(array);
        t.creatHeap(array);
        //System.out.println(t.pop());
        //t.heapSort();


        System.out.println("hello");
    }
}
